<?php

namespace App\Models;

use App\Traits\Relation\ServiceRelation;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Service extends Model
{
    use ServiceRelation, SoftDeletes;

    protected $table = 'service';

    /**
     * 定义不可批量填充字段
     *
     * @var array
     * Date: 2018/05/11
     * @author Tenny
     */
    protected $guarded = ['id'];

    /**
     * 定义隐藏字段
     *
     * @var array
     * Date: 2018/06/11
     * @author Tenny
     */
    protected $hidden = [
        'region_mark', 'updated_at'
    ];
}
